package org.thanos.demo.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.thanos.demo.rest.DemoRest;

@Service
public class DemoService {

    @Autowired
    private DemoRest demoRest;

    public void demo(){
        System.out.println(demoRest.getInfo());
    }
}
